package com.jy.service;

import com.jy.common.enums.ResponseWrapper;
import com.jy.common.model.user.param.AddAddressParam;
import com.jy.common.model.user.param.DeleteAddressParam;
import com.jy.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户的地址表 服务类
 * </p>
 *
 * @author fzg
 * @since 2025-01-16
 */
public interface AddressService extends IService<Address> {

    ResponseWrapper getAddressList(Integer userAidByToken);

    ResponseWrapper addAddress(Integer userAidByToken, AddAddressParam param);

    ResponseWrapper deleteAddress(DeleteAddressParam param);

    ResponseWrapper getAddressInfoByAid(Integer addressAid);
}
